//
//  HSMediator+ModuleC.m
//  HSMediator
//
//  Created by fan on 2021/10/18.
//

#import "HSMediator+ModuleC.h"

@implementation HSMediator (ModuleC)

- (UIViewController *)cViewControllerWith:(NSString *)name callBack:(void(^)(NSString *))callback{
    HSParameters *par = HSParameters.create.key(@"title").value(name).valueCB(callback);
    HSTargetAction *tarAct = HSTargetAction.cls(@"ModuleCTarget").swiftModuleName(@"HSMediator").mtd(@"viewController:").params(par);
    return [self dispatch:tarAct];
}

@end
